\hypertarget{a00006}{
\section{/Users/deepaksubramanian/Documents/Folder of Documents/XCode/ESAPI\_\-COMPLETE/branches/ESAPI Branch Cuckoo/build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h File Reference}
\label{de/d21/a00006}\index{/Users/deepaksubramanian/Documents/Folder of Documents/XCode/ESAPI\_\-COMPLETE/branches/ESAPI Branch Cuckoo/build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h@{/Users/deepaksubramanian/Documents/Folder of Documents/XCode/ESAPI\_\-COMPLETE/branches/ESAPI Branch Cuckoo/build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h}}
}
{\ttfamily \#include \char`\"{}ESAPICAuxiliaryFunctions.h\char`\"{}}\par
{\ttfamily \#include $<$stdlib.h$>$}\par
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{a00006_a9a3f479a4a67e06261402416657952b8}{ESAPICBase64Encoder\_\-H}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00002}{ESAPIStringOperation} $\ast$ \hyperlink{a00006_a89aaefabce9c6d0abf9bfa83d53c2126}{ESAPICBase64EncoderEncode} (char $\ast$inputString)
\begin{DoxyCompactList}\small\item\em ESAPICBase64EncoderEncode -\/ This function is used to encode a given inputString and return the string operation. \end{DoxyCompactList}\item 
\hyperlink{a00002}{ESAPIStringOperation} $\ast$ \hyperlink{a00006_a3be3ccff3afe8d96d3e381febc3b61c4}{ESAPICBase64EncoderDecode} (char $\ast$inputString)
\begin{DoxyCompactList}\small\item\em ESAPICBase64EncoderDecode -\/ This function is used to decode a given inputString and return the string operation. \end{DoxyCompactList}\item 
bool \hyperlink{a00006_afaf89639d27c67e0a3ee705d9d170fc0}{isbase64} (char givenCharacter)
\begin{DoxyCompactList}\small\item\em Checks if the gven character is a base64 character. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Define Documentation}
\hypertarget{a00006_a9a3f479a4a67e06261402416657952b8}{
\index{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h@{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h}!ESAPICBase64Encoder\_\-H@{ESAPICBase64Encoder\_\-H}}
\index{ESAPICBase64Encoder\_\-H@{ESAPICBase64Encoder\_\-H}!build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h@{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h}}
\subsubsection[{ESAPICBase64Encoder\_\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define ESAPICBase64Encoder\_\-H}}
\label{de/d21/a00006_a9a3f479a4a67e06261402416657952b8}


Definition at line 15 of file ESAPICBase64Encoder.h.



\subsection{Function Documentation}
\hypertarget{a00006_a3be3ccff3afe8d96d3e381febc3b61c4}{
\index{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h@{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h}!ESAPICBase64EncoderDecode@{ESAPICBase64EncoderDecode}}
\index{ESAPICBase64EncoderDecode@{ESAPICBase64EncoderDecode}!build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h@{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h}}
\subsubsection[{ESAPICBase64EncoderDecode}]{\setlength{\rightskip}{0pt plus 5cm}{\bf ESAPIStringOperation}$\ast$ ESAPICBase64EncoderDecode (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{inputString}
\end{DoxyParamCaption}
)}}
\label{de/d21/a00006_a3be3ccff3afe8d96d3e381febc3b61c4}


ESAPICBase64EncoderDecode -\/ This function is used to decode a given inputString and return the string operation. 


\begin{DoxyParams}{Parameters}
{\em inputString} & -\/ The given string to be decoded \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The output of the string operation.-\/$>$ The decoded string. 
\end{DoxyReturn}


$<$ Could be low on memory so a very short desc is used 



Definition at line 256 of file ESAPICBase64Encoder.c.

\hypertarget{a00006_a89aaefabce9c6d0abf9bfa83d53c2126}{
\index{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h@{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h}!ESAPICBase64EncoderEncode@{ESAPICBase64EncoderEncode}}
\index{ESAPICBase64EncoderEncode@{ESAPICBase64EncoderEncode}!build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h@{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h}}
\subsubsection[{ESAPICBase64EncoderEncode}]{\setlength{\rightskip}{0pt plus 5cm}{\bf ESAPIStringOperation}$\ast$ ESAPICBase64EncoderEncode (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{inputString}
\end{DoxyParamCaption}
)}}
\label{de/d21/a00006_a89aaefabce9c6d0abf9bfa83d53c2126}


ESAPICBase64EncoderEncode -\/ This function is used to encode a given inputString and return the string operation. 


\begin{DoxyParams}{Parameters}
{\em inputString} & -\/ The given string to be encoded \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The output of the string operation.-\/$>$ The encoded string. 
\end{DoxyReturn}


$<$ Could be low on memory so a very short desc is used 



Definition at line 181 of file ESAPICBase64Encoder.c.

\hypertarget{a00006_afaf89639d27c67e0a3ee705d9d170fc0}{
\index{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h@{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h}!isbase64@{isbase64}}
\index{isbase64@{isbase64}!build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h@{build/Release/ESAPI.framework/Versions/A/Headers/ESAPICBase64Encoder.h}}
\subsubsection[{isbase64}]{\setlength{\rightskip}{0pt plus 5cm}bool isbase64 (
\begin{DoxyParamCaption}
\item[{char}]{ch}
\end{DoxyParamCaption}
)}}
\label{de/d21/a00006_afaf89639d27c67e0a3ee705d9d170fc0}


Checks if the gven character is a base64 character. 


\begin{DoxyParams}{Parameters}
{\em givenCharacter} & -\/ The character to verify as base64\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true -\/ if the given character passes the test for base64. false if the test fails
\end{DoxyReturn}
Return true if CH is a character from the Base64 alphabet, and false otherwise. Note that '=' is padding and not considered to be part of the alphabet.


\begin{DoxyParams}{Parameters}
{\em givenCharacter} & -\/ The character to verify as base64\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true -\/ if the given character passes the test for base64. false if the test fails 
\end{DoxyReturn}


Definition at line 171 of file ESAPICBase64Encoder.c.



Referenced by ESAPICBase64EncoderDecode().

